package gold.utils;

import java.util.Arrays;

public class OutPutUtil {

    public static void printDoubleIntegerArray(int[][] arr) {
        for (int i = 0; i < arr.length; i++) {
            System.out.println(Arrays.toString(arr[i]));
        }
    }

    public static String doubleIntegerArrayToStr(int[][] arr) {
        StringBuilder content = new StringBuilder("[");
        for (int i = 0; i < arr.length; i++) {
            content.append(Arrays.toString(arr[i])).append(",");
        }
        content.delete(content.length() - 1, content.length());
        content.append("]");
        return content.toString();
    }

}
